class Student:
    def __init__(self, name, gender, tel):
        self.name = name
        self.gender = gender
        self.tel = tel

    def __str__(self):
        return f'{self.name}-{self.gender}-{self.tel}'


if __name__ == '__main__':
    student = Student('刘传政', '男', '1223')
    print(student)